'''
Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
Date: 2025-10-13 13:28:49
LastEditors: whirlsun whirlsun@dko.jw
LastEditTime: 2025-10-17 16:17:44
FilePath: \s-experts\experts\admin.py
Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
'''
"""
Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
Date: 2025-10-13 13:28:49
LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
LastEditTime: 2025-10-16 15:17:55
FilePath: \s-experts\experts\admin.py
Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
"""

from django.contrib import admin

from experts.models import Expert, ExpertiseArea, Unit

# Register your models here.
# admin.site.register(Expert)
admin.site.register(Unit)
admin.site.register(ExpertiseArea)

@admin.register(Expert)
class ExpertAdmin(admin.ModelAdmin):
    fieldsets = [
        ("基本信息", {"fields": ["specialty","name", "gender", "unit", "title", "phone_number"]}),
        ("银行信息", {"fields": ["bank_name", "bank_number", "bank_account","id_card_number"]}),
        ("其他信息", {"fields": ["introduction", "contact_information","license_plate_number"]}),
    ]
